<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title>Using the label element</title>
	</head>
	<body>
		<form action="http://www.example.org" method="post" name="frmLogin">
			<table>
				<tr>
					<td><label for="Uname">User name</label></td>
					<td><input type="text" id="Uname" name="txtUserName"/></td>
				</tr>
				<tr>
					<td><label for="Upwd">Password</label></td>
					<td><input type="password" id="Pwd" name="pwdPassword"/></td>
				</tr>
			</table>
		</form>
		<hr />
		<p>Another way to do the same things</p>
		<form action="http://www.example.org" method="post" name="frmLogin02">
			<label>User name <input type="text" id="Uname02" name="txtUserName02"/></label><br />
			<label>Password <input type="password" id="Pwd02" name="pwdPassword02"/></label>
		</form>
	</body>
</html>
